package com.xagcdx.group1.dao;

import com.xagcdx.group1.bean.Depart;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@Repository
@Mapper
public interface DepartMapper extends BaseMapper<Depart> {

	Integer counts(@Param("page") Integer page,@Param("size") Integer size);

	List<Depart> departListPage(@Param("page") Integer page,@Param("size") Integer size,@Param("dname") String dname);

}
